package com.dailyblue.java.project.power.bean;

import lombok.Data;

@Data
public class Powers {
    private Integer id;
    private String powerName;
    private String url;

    private Boolean choose = false; // choose 是否选中

    public boolean equals(Object obj) {
        Powers p = (Powers) obj;
        int myId = this.getId();
        int itId = p.getId();
        return myId == itId;
    }

}
